<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>
<script>
		jQuery(document).ready(function(){
			// binds form submission and fields to the validation engine
			jQuery("#form_tambah_produk").validationEngine();
		});
</script>
<h1>Tambah Produk</h1>
    <?=form_open('produk/add_process',array('id'=>'form_tambah_produk'));?>
      <ul>
		<li>
		  <img src="<?=base_url();?>images/back.png" />&nbsp;&nbsp;<a href="<?php echo base_url()?>produk">Kembali ke Daftar Produk</a>
        </li>
        <li>
			<label>Nama Produk</label>
			<input name="nama_produk" class="validate[required] text-input" id="req1" type="text" size="40"/>
		</li>
		<li>
			<label>IP</label>
			<input name="ip" class="validate[required] text-input" id="req2" type="text" size="40"/>
		</li>
		<li>
			<label>Password</label>
			<input name="password" class="validate[required] text-input" id="req3" type="text" size="40"/>
		</li>
        <li>
			<label>RAM</label>
			<input name="ram" class="validate[required] text-input" id="req4" type="text" size="40"/>
		</li>
		<li>
			<label>CPU Cores</label>
			<input name="cpu_cores" class="validate[required] text-input" id="req5" type="text" size="40"/>
		</li>
		<li>
			<label>Disk Space</label>
			<input name="disk_space" class="validate[required] text-input" id="req6" type="text" size="40"/>
		</li>
		<li>
			<label>RAID - 10</label>
			<select name="raid_10" id="raid_10" class="validate[required]">
				<option value="0">Ya</option>
				<option value="1">Tidak</option>
          </select>
		</li>
		<li>
			<label>Biaya Setup</label>
			<select name="setup_fee" id= class="validate[required]">
				<option value="0">Gratis</option>
				<option value="1">Berbayar</option>
          </select>
		</li>
		<li>
			<label>Bandwidth</label>
			<input name="bandwidth" class="validate[required] text-input" id="req7" type="text" size="40"/>
		</li>
		<li>
			<label>Semi-Managed</label>
			<select name="semi_managed" class="validate[required]">
				<option value="0">Ya</option>
				<option value="1">Tidak</option>
          </select>
		</li>
		<li>
			<label>Uptime</label>
			<input name="uptime" class="validate[required] text-input" id="req8" type="text" size="40"/>
		</li>
        <li>
			<label>Tipe</label>
			<select name="tipe" class="validate[required]">
				<option value="1">ZAP 1</option>
				<option value="2">ZAP 2</option>
				<option value="3">ZAP 3</option>
				<option value="4">ZAP 4</option>
          </select>
		</li>
        <li>
          <input type="submit" />
          <input type="reset" />
        </li>
      </ul>
    </form>
  </body>
</html>
